package com.mew.lobby.message.request;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author tansonglin
 * @date 2021/8/24 14:04
 */
@Data
@ToString
public class EditResponseMessage extends ZebraBaseMessage<EditResponseMessage> {
    private String oldS;
    private String newS;
    @Override
    public void write(ByteBuf byteBuf) {

    }

    @Override
    public EditResponseMessage read(ByteBuf b) {
        EditResponseMessage message = new EditResponseMessage();
        message.setOldS(readString(b));
        message.setNewS(readString(b));
        return message;
    }
}
